<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>lib/vfs/path.h</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<!-- beginning of fixed guide -->
<div id='guide'><ul>
<li><a href='#L103'><img class='icon' src='../icons/first.png' alt='[^]' /></a></li>
<li><a href='#L142'><img class='icon' src='../icons/last.png' alt='[v]' /></a></li>
<li><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a></li>
<li><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a></li>
<li><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a></li>
<li><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a></li>
<li class='standout'><span><a href='../files/lib.html'>lib</a>/<a href='../files/lib--vfs.html'>vfs</a>/path.h</span></li>
</ul></div>
<!-- end of fixed guide -->
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/lib.html'>lib</a>/<a href='../files/lib--vfs.html'>vfs</a>/path.h</h2>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L103'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L142'><img class='icon' src='../icons/last.png' alt='[last]' /></a><img class='icon' src='../icons/n_top.png' alt='[top]' /><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+1 lib/vfs/path.h'  /> */</em>
<hr />
<h2 class='header'><a href='../J/path.h.html' title='Multiple included from 13 places.'>INCLUDED FROM</a></h2>
<hr />
<h2 class='header'>DEFINITIONS</h2>
This source file includes following definitions.
<ol>
<li><a href='#L103' title='Defined at 103.'>vfs_path_element_valid</a></li>
<li><a href='#L111' title='Defined at 111.'>vfs_path_get_last_path_str</a></li>
<li><a href='#L123' title='Defined at 123.'>vfs_path_get_last_path_vfs</a></li>
<li><a href='#L142' title='Defined at 142.'>vfs_path_as_str</a></li>
</ol>
<hr />
<pre>
<a id='L1' name='L1'></a>   1 <em class='sharp'>#ifndef</em> <a href='../S/lib--vfs--path.h.html#L2' title='Defined at 2 in lib/vfs/path.h.'>MC__VFS_PATH_H</a>
<a id='L2' name='L2'></a>   2 <em class='sharp'>#define</em> <a href='../S/lib--vfs--path.h.html#L1' title='Referred from 1 in lib/vfs/path.h.'>MC__VFS_PATH_H</a>
<a id='L3' name='L3'></a>   3 
<a id='L4' name='L4'></a>   4 <em class='comment'>/*** typedefs(not structures) and defined constants **********************************************/</em>
<a id='L5' name='L5'></a>   5 
<a id='L6' name='L6'></a>   6 <em class='sharp'>#define</em> <a href='../R/VFS_PATH_URL_DELIMITER.html' title='Multiple referred from 33 places.'>VFS_PATH_URL_DELIMITER</a> "://"
<a id='L7' name='L7'></a>   7 
<a id='L8' name='L8'></a>   8 <em class='comment'>/*** enums ***************************************************************************************/</em>
<a id='L9' name='L9'></a>   9 
<a id='L10' name='L10'></a>  10 <strong class='reserved'>typedef</strong> <strong class='reserved'>enum</strong>
<a id='L11' name='L11'></a>  11 <em class='brace'>{</em>
<a id='L12' name='L12'></a>  12     <a href='../R/VPF_NONE.html' title='Multiple referred from 23 places.'>VPF_NONE</a> = 0,
<a id='L13' name='L13'></a>  13     <a href='../R/VPF_NO_CANON.html' title='Multiple referred from 24 places.'>VPF_NO_CANON</a> = 1 &lt;&lt; 0,
<a id='L14' name='L14'></a>  14     <a href='../R/VPF_USE_DEPRECATED_PARSER.html' title='Multiple referred from 7 places.'>VPF_USE_DEPRECATED_PARSER</a> = 1 &lt;&lt; 1,
<a id='L15' name='L15'></a>  15     <a href='../R/VPF_RECODE.html' title='Multiple referred from 6 places.'>VPF_RECODE</a> = 1 &lt;&lt; 2,
<a id='L16' name='L16'></a>  16     <a href='../R/VPF_STRIP_HOME.html' title='Multiple referred from 14 places.'>VPF_STRIP_HOME</a> = 1 &lt;&lt; 3,
<a id='L17' name='L17'></a>  17     <a href='../R/VPF_STRIP_PASSWORD.html' title='Multiple referred from 21 places.'>VPF_STRIP_PASSWORD</a> = 1 &lt;&lt; 4,
<a id='L18' name='L18'></a>  18     <a href='../R/VPF_HIDE_CHARSET.html' title='Multiple referred from 4 places.'>VPF_HIDE_CHARSET</a> = 1 &lt;&lt; 5
<a id='L19' name='L19'></a>  19 <em class='brace'>}</em> <a href='../R/vfs_path_flag_t.html' title='Multiple referred from 8 places.'>vfs_path_flag_t</a>;
<a id='L20' name='L20'></a>  20 
<a id='L21' name='L21'></a>  21 <em class='comment'>/*** structures declarations (and typedefs of structures)*****************************************/</em>
<a id='L22' name='L22'></a>  22 
<a id='L23' name='L23'></a>  23 <strong class='reserved'>struct</strong> <a href='../D/vfs_class.html' title='Multiple defined in 2 places.'>vfs_class</a>;
<a id='L24' name='L24'></a>  24 <strong class='reserved'>struct</strong> vfs_url_struct;
<a id='L25' name='L25'></a>  25 
<a id='L26' name='L26'></a>  26 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong>
<a id='L27' name='L27'></a>  27 <em class='brace'>{</em>
<a id='L28' name='L28'></a>  28     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/relative.html' title='Multiple used in 14 places.'>relative</a>;
<a id='L29' name='L29'></a>  29     <a href='../Y/GArray.html' title='Multiple used in 91 places.'>GArray</a> *<a href='../Y/path.html' title='Multiple used in 494 places.'>path</a>;
<a id='L30' name='L30'></a>  30     <strong class='reserved'>char</strong> *<a href='../Y/str.html' title='Multiple used in 587 places.'>str</a>;
<a id='L31' name='L31'></a>  31 <em class='brace'>}</em> <a href='../R/vfs_path_t.html' title='Multiple referred from 780 places.'>vfs_path_t</a>;
<a id='L32' name='L32'></a>  32 
<a id='L33' name='L33'></a>  33 <strong class='reserved'>typedef</strong> <strong class='reserved'>struct</strong>
<a id='L34' name='L34'></a>  34 <em class='brace'>{</em>
<a id='L35' name='L35'></a>  35     <strong class='reserved'>char</strong> *<a href='../Y/user.html' title='Multiple used in 182 places.'>user</a>;
<a id='L36' name='L36'></a>  36     <strong class='reserved'>char</strong> *<a href='../Y/password.html' title='Multiple used in 55 places.'>password</a>;
<a id='L37' name='L37'></a>  37     <strong class='reserved'>char</strong> *<a href='../Y/host.html' title='Multiple used in 152 places.'>host</a>;
<a id='L38' name='L38'></a>  38     <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/ipv6.html' title='Multiple used in 5 places.'>ipv6</a>;
<a id='L39' name='L39'></a>  39     <strong class='reserved'>int</strong> <a href='../Y/port.html' title='Multiple used in 111 places.'>port</a>;
<a id='L40' name='L40'></a>  40     <strong class='reserved'>char</strong> *<a href='../Y/path.html' title='Multiple used in 494 places.'>path</a>;
<a id='L41' name='L41'></a>  41     <strong class='reserved'>struct</strong> <a href='../D/vfs_class.html' title='Multiple defined in 2 places.'>vfs_class</a> *<a href='../Y/class.html' title='Multiple used in 159 places.'>class</a>;
<a id='L42' name='L42'></a>  42 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L43' name='L43'></a>  43     <strong class='reserved'>char</strong> *<a href='../Y/encoding.html' title='Multiple used in 56 places.'>encoding</a>;
<a id='L44' name='L44'></a>  44 <em class='sharp'>#endif</em>
<a id='L45' name='L45'></a>  45     <strong class='reserved'>char</strong> *<a href='../Y/vfs_prefix.html' title='Multiple used in 23 places.'>vfs_prefix</a>;
<a id='L46' name='L46'></a>  46 
<a id='L47' name='L47'></a>  47     <strong class='reserved'>struct</strong>
<a id='L48' name='L48'></a>  48     <em class='brace'>{</em>
<a id='L49' name='L49'></a>  49 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L50' name='L50'></a>  50         <a href='../Y/GIConv.html' title='Multiple used in 59 places.'>GIConv</a> <a href='../Y/converter.html' title='Multiple used in 70 places.'>converter</a>;
<a id='L51' name='L51'></a>  51 <em class='sharp'>#endif</em>
<a id='L52' name='L52'></a>  52         <a href='../Y/DIR.html' title='Multiple used in 28 places.'>DIR</a> *<a href='../Y/info.html' title='Multiple used in 134 places.'>info</a>;
<a id='L53' name='L53'></a>  53     <em class='brace'>}</em> <a href='../Y/dir.html' title='Multiple used in 454 places.'>dir</a>;
<a id='L54' name='L54'></a>  54 <em class='brace'>}</em> <a href='../R/vfs_path_element_t.html' title='Multiple referred from 195 places.'>vfs_path_element_t</a>;
<a id='L55' name='L55'></a>  55 
<a id='L56' name='L56'></a>  56 <em class='comment'>/*** global variables defined in .c file *********************************************************/</em>
<a id='L57' name='L57'></a>  57 
<a id='L58' name='L58'></a>  58 <em class='comment'>/*** declarations of public functions ************************************************************/</em>
<a id='L59' name='L59'></a>  59 
<a id='L60' name='L60'></a>  60 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L774' title='Defined at 774 in lib/vfs/path.c.'>vfs_path_new</a> (<strong class='reserved'>void</strong>);
<a id='L61' name='L61'></a>  61 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L913' title='Defined at 913 in lib/vfs/path.c.'>vfs_path_clone</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>);
<a id='L62' name='L62'></a>  62 <strong class='reserved'>void</strong> <a href='../S/lib--vfs--path.c.html#L977' title='Defined at 977 in lib/vfs/path.c.'>vfs_path_remove_element_by_index</a> (<a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, <strong class='reserved'>int</strong> <a href='../Y/element_index.html' title='Multiple used in 32 places.'>element_index</a>);
<a id='L63' name='L63'></a>  63 <strong class='reserved'>void</strong> <a href='../S/lib--vfs--path.c.html#L946' title='Defined at 946 in lib/vfs/path.c.'>vfs_path_free</a> (<a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/path.html' title='Multiple used in 494 places.'>path</a>);
<a id='L64' name='L64'></a>  64 <strong class='reserved'>int</strong> <a href='../S/lib--vfs--path.c.html#L794' title='Defined at 794 in lib/vfs/path.c.'>vfs_path_elements_count</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/path.html' title='Multiple used in 494 places.'>path</a>);
<a id='L65' name='L65'></a>  65 
<a id='L66' name='L66'></a>  66 <strong class='reserved'>char</strong> *<a href='../S/lib--vfs--path.c.html#L708' title='Defined at 708 in lib/vfs/path.c.'>vfs_path_to_str_elements_count</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/path.html' title='Multiple used in 494 places.'>path</a>, <strong class='reserved'>int</strong> <a href='../Y/elements_count.html' title='Multiple used in 13 places.'>elements_count</a>);
<a id='L67' name='L67'></a>  67 <strong class='reserved'>char</strong> *<a href='../S/lib--vfs--path.c.html#L626' title='Defined at 626 in lib/vfs/path.c.'>vfs_path_to_str_flags</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, <strong class='reserved'>int</strong> <a href='../Y/elements_count.html' title='Multiple used in 13 places.'>elements_count</a>, <a href='../S/lib--vfs--path.h.html#L19' title='Defined at 19 in lib/vfs/path.h.'>vfs_path_flag_t</a> <a href='../Y/flags.html' title='Multiple used in 420 places.'>flags</a>);
<a id='L68' name='L68'></a>  68 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L761' title='Defined at 761 in lib/vfs/path.c.'>vfs_path_from_str</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/path_str.html' title='Multiple used in 13 places.'>path_str</a>);
<a id='L69' name='L69'></a>  69 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L724' title='Defined at 724 in lib/vfs/path.c.'>vfs_path_from_str_flags</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/path_str.html' title='Multiple used in 13 places.'>path_str</a>, <a href='../S/lib--vfs--path.h.html#L19' title='Defined at 19 in lib/vfs/path.h.'>vfs_path_flag_t</a> <a href='../Y/flags.html' title='Multiple used in 420 places.'>flags</a>);
<a id='L70' name='L70'></a>  70 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L1221' title='Defined at 1221 in lib/vfs/path.c.'>vfs_path_build_filename</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/first_element.html' title='Multiple used in 19 places.'>first_element</a>, ...);
<a id='L71' name='L71'></a>  71 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L1250' title='Defined at 1250 in lib/vfs/path.c.'>vfs_path_append_new</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/first_element.html' title='Multiple used in 19 places.'>first_element</a>, ...);
<a id='L72' name='L72'></a>  72 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L1284' title='Defined at 1284 in lib/vfs/path.c.'>vfs_path_append_vpath_new</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/first_vpath.html' title='Multiple used in 5 places.'>first_vpath</a>, ...);
<a id='L73' name='L73'></a>  73 <a href='../Y/size_t.html' title='Multiple used in 726 places.'>size_t</a> <a href='../S/lib--vfs--path.c.html#L1328' title='Defined at 1328 in lib/vfs/path.c.'>vfs_path_tokens_count</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *);
<a id='L74' name='L74'></a>  74 <strong class='reserved'>char</strong> *<a href='../S/lib--vfs--path.c.html#L1372' title='Defined at 1372 in lib/vfs/path.c.'>vfs_path_tokens_get</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, <a href='../Y/ssize_t.html' title='Multiple used in 151 places.'>ssize_t</a> <a href='../Y/start_position.html' title='Multiple used in 17 places.'>start_position</a>, <a href='../Y/ssize_t.html' title='Multiple used in 151 places.'>ssize_t</a> <a href='../Y/length.html' title='Multiple used in 226 places.'>length</a>);
<a id='L75' name='L75'></a>  75 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L1454' title='Defined at 1454 in lib/vfs/path.c.'>vfs_path_vtokens_get</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, <a href='../Y/ssize_t.html' title='Multiple used in 151 places.'>ssize_t</a> <a href='../Y/start_position.html' title='Multiple used in 17 places.'>start_position</a>, <a href='../Y/ssize_t.html' title='Multiple used in 151 places.'>ssize_t</a> <a href='../Y/length.html' title='Multiple used in 226 places.'>length</a>);
<a id='L76' name='L76'></a>  76 
<a id='L77' name='L77'></a>  77 <strong class='reserved'>void</strong> <a href='../S/lib--vfs--path.c.html#L807' title='Defined at 807 in lib/vfs/path.c.'>vfs_path_add_element</a> (<a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, <strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> * <a href='../Y/path_element.html' title='Multiple used in 571 places.'>path_element</a>);
<a id='L78' name='L78'></a>  78 <strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> *<a href='../S/lib--vfs--path.c.html#L825' title='Defined at 825 in lib/vfs/path.c.'>vfs_path_get_by_index</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/path.html' title='Multiple used in 494 places.'>path</a>, <strong class='reserved'>int</strong> <a href='../Y/element_index.html' title='Multiple used in 32 places.'>element_index</a>);
<a id='L79' name='L79'></a>  79 <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> *<a href='../S/lib--vfs--path.c.html#L849' title='Defined at 849 in lib/vfs/path.c.'>vfs_path_element_clone</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> * <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>);
<a id='L80' name='L80'></a>  80 <strong class='reserved'>void</strong> <a href='../S/lib--vfs--path.c.html#L882' title='Defined at 882 in lib/vfs/path.c.'>vfs_path_element_free</a> (<a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> * <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>);
<a id='L81' name='L81'></a>  81 
<a id='L82' name='L82'></a>  82 <strong class='reserved'>struct</strong> <a href='../D/vfs_class.html' title='Multiple defined in 2 places.'>vfs_class</a> *<a href='../S/lib--vfs--path.c.html#L998' title='Defined at 998 in lib/vfs/path.c.'>vfs_prefix_to_class</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/prefix.html' title='Multiple used in 80 places.'>prefix</a>);
<a id='L83' name='L83'></a>  83 
<a id='L84' name='L84'></a>  84 <em class='sharp'>#ifdef</em> <a href='../S/tests--lib--vfs--tempdir.c.html#L31' title='Defined at 31 in tests/lib/vfs/tempdir.c.'>HAVE_CHARSET</a>
<a id='L85' name='L85'></a>  85 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/lib--vfs--path.c.html#L1035' title='Defined at 1035 in lib/vfs/path.c.'>vfs_path_element_need_cleanup_converter</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> * <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>);
<a id='L86' name='L86'></a>  86 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L1050' title='Defined at 1050 in lib/vfs/path.c.'>vfs_path_change_encoding</a> (<a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/encoding.html' title='Multiple used in 56 places.'>encoding</a>);
<a id='L87' name='L87'></a>  87 <em class='sharp'>#endif</em>
<a id='L88' name='L88'></a>  88 
<a id='L89' name='L89'></a>  89 <strong class='reserved'>char</strong> *<a href='../S/lib--vfs--path.c.html#L1086' title='Defined at 1086 in lib/vfs/path.c.'>vfs_path_serialize</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, <a href='../Y/GError.html' title='Multiple used in 175 places.'>GError</a> ** <a href='../Y/error.html' title='Multiple used in 229 places.'>error</a>);
<a id='L90' name='L90'></a>  90 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L1141' title='Defined at 1141 in lib/vfs/path.c.'>vfs_path_deserialize</a> (<strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *<a href='../Y/data.html' title='Multiple used in 912 places.'>data</a>, <a href='../Y/GError.html' title='Multiple used in 175 places.'>GError</a> ** <a href='../Y/error.html' title='Multiple used in 229 places.'>error</a>);
<a id='L91' name='L91'></a>  91 
<a id='L92' name='L92'></a>  92 <strong class='reserved'>char</strong> *<a href='../S/lib--vfs--path.c.html#L1480' title='Defined at 1480 in lib/vfs/path.c.'>vfs_path_build_url_params_str</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> * <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>, <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../Y/keep_password.html' title='Multiple used in 3 places.'>keep_password</a>);
<a id='L93' name='L93'></a>  93 <strong class='reserved'>char</strong> *<a href='../S/lib--vfs--path.c.html#L1528' title='Defined at 1528 in lib/vfs/path.c.'>vfs_path_element_build_pretty_path_str</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> * <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>);
<a id='L94' name='L94'></a>  94 
<a id='L95' name='L95'></a>  95 <a href='../Y/size_t.html' title='Multiple used in 726 places.'>size_t</a> <a href='../S/lib--vfs--path.c.html#L1612' title='Defined at 1612 in lib/vfs/path.c.'>vfs_path_len</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>);
<a id='L96' name='L96'></a>  96 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/lib--vfs--path.c.html#L1558' title='Defined at 1558 in lib/vfs/path.c.'>vfs_path_equal</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath1.html' title='Multiple used in 76 places.'>vpath1</a>, <strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath2.html' title='Multiple used in 72 places.'>vpath2</a>);
<a id='L97' name='L97'></a>  97 <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a> <a href='../S/lib--vfs--path.c.html#L1586' title='Defined at 1586 in lib/vfs/path.c.'>vfs_path_equal_len</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath1.html' title='Multiple used in 76 places.'>vpath1</a>, <strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath2.html' title='Multiple used in 72 places.'>vpath2</a>, <a href='../Y/size_t.html' title='Multiple used in 726 places.'>size_t</a> <a href='../Y/len.html' title='Multiple used in 1086 places.'>len</a>);
<a id='L98' name='L98'></a>  98 <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> *<a href='../S/lib--vfs--path.c.html#L1630' title='Defined at 1630 in lib/vfs/path.c.'>vfs_path_to_absolute</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>);
<a id='L99' name='L99'></a>  99 
<a id='L100' name='L100'></a> 100 <em class='comment'>/*** inline functions ****************************************************************************/</em>
<a id='L101' name='L101'></a> 101 
<a id='L102' name='L102'></a> 102 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <a href='../Y/gboolean.html' title='Multiple used in 1757 places.'>gboolean</a>
<a id='L103' name='L103'></a> 103 <a href='../R/vfs_path_element_valid.html' title='Multiple referred from 14 places.'>vfs_path_element_valid</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> * <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>)
     <em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><a href='#L111'><img class='icon' src='../icons/right.png' alt='[next]' /></a><img class='icon' src='../icons/n_first.png' alt='[first]' /><a href='#L142'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+103 lib/vfs/path.h'  /> */</em>
<a id='L104' name='L104'></a> 104 <em class='brace'>{</em>
<a id='L105' name='L105'></a> 105     <strong class='reserved'>return</strong> (<a href='../Y/element.html' title='Multiple used in 167 places.'>element</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a> &amp;&amp; <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>-&gt;<a href='../Y/class.html' title='Multiple used in 159 places.'>class</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>);
<a id='L106' name='L106'></a> 106 <em class='brace'>}</em>
<a id='L107' name='L107'></a> 107 
<a id='L108' name='L108'></a> 108 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L109' name='L109'></a> 109 
<a id='L110' name='L110'></a> 110 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
<a id='L111' name='L111'></a> 111 <a href='../R/vfs_path_get_last_path_str.html' title='Multiple referred from 36 places.'>vfs_path_get_last_path_str</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>)
     <em class='comment'>/* <a href='#L103'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L123'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L103'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L142'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+111 lib/vfs/path.h'  /> */</em>
<a id='L112' name='L112'></a> 112 <em class='brace'>{</em>
<a id='L113' name='L113'></a> 113     <strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> *<a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>;
<a id='L114' name='L114'></a> 114     <strong class='reserved'>if</strong> (<a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a> == <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L115' name='L115'></a> 115         <strong class='reserved'>return</strong> <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>;
<a id='L116' name='L116'></a> 116     <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a> = <a href='../S/lib--vfs--path.c.html#L825' title='Defined at 825 in lib/vfs/path.c.'>vfs_path_get_by_index</a> (<a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, -1);
<a id='L117' name='L117'></a> 117     <strong class='reserved'>return</strong> (<a href='../Y/element.html' title='Multiple used in 167 places.'>element</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>) ? <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>-&gt;<a href='../Y/path.html' title='Multiple used in 494 places.'>path</a> : <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>;
<a id='L118' name='L118'></a> 118 <em class='brace'>}</em>
<a id='L119' name='L119'></a> 119 
<a id='L120' name='L120'></a> 120 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L121' name='L121'></a> 121 
<a id='L122' name='L122'></a> 122 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <strong class='reserved'>const</strong> <strong class='reserved'>struct</strong> <a href='../D/vfs_class.html' title='Multiple defined in 2 places.'>vfs_class</a> *
<a id='L123' name='L123'></a> 123 <a href='../R/vfs_path_get_last_path_vfs.html' title='Multiple referred from 7 places.'>vfs_path_get_last_path_vfs</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>)
     <em class='comment'>/* <a href='#L111'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><a href='#L142'><img class='icon' src='../icons/right.png' alt='[next]' /></a><a href='#L103'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L142'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+123 lib/vfs/path.h'  /> */</em>
<a id='L124' name='L124'></a> 124 <em class='brace'>{</em>
<a id='L125' name='L125'></a> 125     <strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L54' title='Defined at 54 in lib/vfs/path.h.'>vfs_path_element_t</a> *<a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>;
<a id='L126' name='L126'></a> 126     <strong class='reserved'>if</strong> (<a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a> == <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>)
<a id='L127' name='L127'></a> 127         <strong class='reserved'>return</strong> <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>;
<a id='L128' name='L128'></a> 128     <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a> = <a href='../S/lib--vfs--path.c.html#L825' title='Defined at 825 in lib/vfs/path.c.'>vfs_path_get_by_index</a> (<a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>, -1);
<a id='L129' name='L129'></a> 129     <strong class='reserved'>return</strong> (<a href='../Y/element.html' title='Multiple used in 167 places.'>element</a> != <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>) ? <a href='../Y/element.html' title='Multiple used in 167 places.'>element</a>-&gt;<a href='../Y/class.html' title='Multiple used in 159 places.'>class</a> : <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a>;
<a id='L130' name='L130'></a> 130 <em class='brace'>}</em>
<a id='L131' name='L131'></a> 131 
<a id='L132' name='L132'></a> 132 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L133' name='L133'></a> 133 <em class='comment'>/**</em>
<a id='L134' name='L134'></a> 134 <em class='comment'> * Convert vfs_path_t to string representation.</em>
<a id='L135' name='L135'></a> 135 <em class='comment'> *</em>
<a id='L136' name='L136'></a> 136 <em class='comment'> * @param vpath pointer to vfs_path_t object</em>
<a id='L137' name='L137'></a> 137 <em class='comment'> *</em>
<a id='L138' name='L138'></a> 138 <em class='comment'> * @return pointer to constant string</em>
<a id='L139' name='L139'></a> 139 <em class='comment'> */</em>
<a id='L140' name='L140'></a> 140 
<a id='L141' name='L141'></a> 141 <strong class='reserved'>static</strong> <strong class='reserved'>inline</strong> <strong class='reserved'>const</strong> <strong class='reserved'>char</strong> *
<a id='L142' name='L142'></a> 142 <a href='../R/vfs_path_as_str.html' title='Multiple referred from 168 places.'>vfs_path_as_str</a> (<strong class='reserved'>const</strong> <a href='../S/lib--vfs--path.h.html#L31' title='Defined at 31 in lib/vfs/path.h.'>vfs_path_t</a> * <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>)
     <em class='comment'>/* <a href='#L123'><img class='icon' src='../icons/left.png' alt='[previous]' /></a><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L103'><img class='icon' src='../icons/first.png' alt='[first]' /></a><img class='icon' src='../icons/n_last.png' alt='[last]' /><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><a href='#BOTTOM'><img class='icon' src='../icons/bottom.png' alt='[bottom]' /></a><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+142 lib/vfs/path.h'  /> */</em>
<a id='L143' name='L143'></a> 143 <em class='brace'>{</em>
<a id='L144' name='L144'></a> 144     <strong class='reserved'>return</strong> (<a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a> == <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a> ? <a href='../Y/NULL.html' title='Multiple used in 5646 places.'>NULL</a> : <a href='../Y/vpath.html' title='Multiple used in 999 places.'>vpath</a>-&gt;<a href='../Y/str.html' title='Multiple used in 587 places.'>str</a>);
<a id='L145' name='L145'></a> 145 <em class='brace'>}</em>
<a id='L146' name='L146'></a> 146 
<a id='L147' name='L147'></a> 147 <em class='comment'>/* --------------------------------------------------------------------------------------------- */</em>
<a id='L148' name='L148'></a> 148 
<a id='L149' name='L149'></a> 149 <em class='sharp'>#endif</em>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* <img class='icon' src='../icons/n_left.png' alt='[previous]' /><img class='icon' src='../icons/n_right.png' alt='[next]' /><a href='#L103'><img class='icon' src='../icons/first.png' alt='[first]' /></a><a href='#L142'><img class='icon' src='../icons/last.png' alt='[last]' /></a><a href='#TOP'><img class='icon' src='../icons/top.png' alt='[top]' /></a><img class='icon' src='../icons/n_bottom.png' alt='[bottom]' /><a href='../mains.html'><img class='icon' src='../icons/index.png' alt='[index]' /></a><a href='../help.html'><img class='icon' src='../icons/help.png' alt='[help]' /></a>&nbsp;<input type='text' readonly onfocus='this.select();' value='+149 lib/vfs/path.h'  /> */</em>
</body>
</html>
